Skip to content

Bump behave from 1.2.6 to 1.3.0#756

Merged
ben-edna merged 7 commits intomainfrom
dependabot/pip/main/behave-1.3.0
Aug 11, 2025
Merged

Bump behave from 1.2.6 to 1.3.0#756
ben-edna merged 7 commits intomainfrom
dependabot/pip/main/behave-1.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 5, 2025

Bumps behave from 1.2.6 to 1.3.0.

Release notes

Sourced from behave's releases.

v1.3.0

  • Gherkin v6 support
  • Native support for cucumber-expressions as step matcher
  • Native support for async-steps
  • Support for tag-expressions v2
  • Distinguish in outcome between failures (assert-failed) and errors (unexpected exceptions at runtime)
  • Improved captured-output support
  • Improved logging support and log-to-file support
  • And many things more ...

CHANGELOG:

HINT:

  • Last release with Python 2.7 support

v1.2.7.dev8

  • FIX #1251: Installation with pip does not install dependencies

v1.2.7.dev7

ENHANCEMENTS:

  • async-steps: Support async-step functions directly
  • async-steps: Add test from PR #1249 (provided by: jeteve)
  • ActiveTags: Add support to override an enabled active-tag
  • Feature: Improved capture support
  • issue #1246 ScenarioOutline: Placeholders in Examples.tags
  • Improve logging support, simplify logging to file (releated to; issue #948)
  • Support for Python 3.13

CHANGES:

  • In behave: Replace assert statements w/ require statements/calls
  • FIX: Spelling mistakes w/ codespell

FIXED:

  • issue #1233: RuntimeError: Event loop is closed" in asyncio streams
  • issue #1231: TypeConverter Error causes Formatter Error
  • issue #1214

CLEANUP:

  • @​async.coroutine decorator: Remove in docs, tests, features, steps

DEVELOP:

... (truncated)

Changelog

Sourced from behave's changelog.

Version: 1.3.0 (2025-08-04)

BASED ON: Version 1.2.7 changes

GOALS:

  • Will be released on https://pypi.org
  • Include all changes from behave v1.2.7 development
  • Last version minor version with Python 2.7 support
  • tag-expressions v2: Enabled by default ("strict" mode: only v2 supported).
  • tag-expressions v1: Disabled by default (in "strict" mode). BUT: Can be enabled via config-file parameter in "any" mode (supports: v1 and v2).

Version: 1.2.7 (part of: 1.3.0)

BACKWARD-INCOMPATIBLE:

  • Replace old-style tag-expressions with cucumber-tag-expressions_ as tag-expressions v2.

    HINTS:

    • DEPRECATING: tag-expressions v1 (old-style)
    • BUT: Currently, tag-expression version is automatically detected (and used).
  • CLI: Cleanup command-line short-options that are seldom used (short-options for: --no-skipped (-k), --no-multiline (-m), --no-source (-s)).

  • parser: No longer strips trailing colon from steps with text/table section.

  • Undefined steps need to use StepNotImplementedError (was: NotImplementedError)

GOALS:

  • Improve support for Windows (continued)
  • FIX: Unicode problems on Windows (in behave-1.2.6)
  • FIX: Regression test problems on Windows (in behave-1.2.6)

DEVELOPMENT:

  • Renamed default branch of Git repository to "main" (was: "master").
  • Use github-actions as CI/CD pipeline (and remove Travis as CI).
  • CI: Remove python.version=2.7 for CI pipeline (reason: No longer supported by Github Actions, date: 2023-07).
  • ADDED: pyproject.toml support (hint: "setup.py" will become DEPRECATED soon)

CLEANUPS:

  • CLI: Remove unused option --expand

... (truncated)

Commits
  • 85fe9db BUMP-VERSION: 1.3.0
  • 5239ced CLEANUP: Fix linter warnings (with ruff-check).
  • 5c3f770 FIX #1252: Encoding problem in any formatter
  • 5adfd10 UPDATE: gherkin-languages.json
  • 05bce17 CI: Bump experimental Python version: 3.14.0-rc.1 (was: beta.4)
  • 3504ef6 BUMP-VERSION: 1.2.7.dev9 (was: 1.2.7.dev8)
  • f622524 CLEANUP: Remove disabled, obsolete TOML dependency section
  • 3e3ef3b Remove toml extra from installation instructions
  • 231240b BUMP-VERSION: 1.2.7.dev8 (was: 1.2.7.dev7)
  • b8b23bc FIX #1251: Installation with pip does not install dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Description by Korbit AI

What change is being made?

Upgrade the behave dependency from version 1.2.6 to 1.3.0, update feature files and step definitions for better readability and accuracy, and enhance the codebase by adding an import statement for Context and updating context handling in step implementations.

Why are these changes being made?

Updating to behave 1.3.0 ensures that the project benefits from the latest features and bug fixes. The changes to feature files and step definitions improve clarity and correctness in the test descriptions, making them better aligned with current usage. Adding the Context import and updating context usage fixes a potential issue with how outputs were captured during test executions, ensuring smoother test runs.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

Bumps [behave](https://github.com/behave/behave) from 1.2.6 to 1.3.0.
- [Release notes](https://github.com/behave/behave/releases)
- [Changelog](https://github.com/behave/behave/blob/main/CHANGES.rst)
- [Commits](behave/behave@v1.2.6...v1.3.0)

---
updated-dependencies:
- dependency-name: behave
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Packages this project depends on label Aug 5, 2025
@korbit-ai
Copy link
Copy Markdown

korbit-ai Bot commented Aug 5, 2025

By default, I don't review pull requests opened by bots. If you would like me to review this pull request anyway, you can request a review via the /korbit-review command in a comment.

@spoorcc
Copy link
Copy Markdown
Contributor

spoorcc commented Aug 5, 2025

@jgeudens @TomEDnA if someone is using behave unpinned, they might experience some issue coming weekend

context.log_capture was replaced with immutable context.captured. Don't clear, but remember position and only store new output in context.cmd_output.
@ben-edna
Copy link
Copy Markdown
Contributor

/korbit-review

Copy link
Copy Markdown

@korbit-ai korbit-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've completed my review and didn't find any issues... but I did find this bear.

/  \.-"""-./  \
\    -   -    /
 |   o   o   |
 \  .-'''-.  /
  '-\__Y__/-'
     `---`
Files scanned
File Path Reviewed
features/steps/manifest_steps.py
features/steps/svn_steps.py
features/steps/git_steps.py
features/steps/generic_steps.py

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

@ben-edna ben-edna merged commit d087e38 into main Aug 11, 2025
28 checks passed
@ben-edna ben-edna deleted the dependabot/pip/main/behave-1.3.0 branch August 11, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Packages this project depends on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants